﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            a3();

        }
        static void a1()
        {
            Staff yuan = new Staff();
            yuan.Number = 123;
            yuan.Name = "zhangsan";
            yuan.Department = "123";
            yuan.sc();
            Staff xs = new Staff(12, "123", "123");
            xs.sc();
        }
        static void a2()
        {
            Console.WriteLine("请输入半径");
            int a = int.Parse(Console.ReadLine());
            Staff mj1 = new Staff(a);
            mj1.yuanmj();
            Console.WriteLine("请输入长");
            int c = int.Parse(Console.ReadLine());
            Console.WriteLine("请输入宽");
            int k = int.Parse(Console.ReadLine());
            Staff mj2 = new Staff(c, k);
            mj2.cfxmj();


        }
        static void a3()
        {
            SumUtils sum = new SumUtils(2, 3);
            sum.intjia();

            SumUtils sumUtils = new SumUtils(1.2, 2.2);
            sumUtils.doublejia();

            SumUtils utils = new SumUtils("sad123", "dasd1564");
            utils.stringjia();

            SumUtils util = new SumUtils(100);
            util.yitne();
        }
    }
}
